.section4 {
    padding: 80px 0px;
}

.section4 .title {
    display: flex;
    flex-direction: column;
}

.section4 .title h1 {
    height: 50px;
    line-height: 50px;
    text-align: center;
    font-size: 30px;
    color: #8c785b;
    font-weight: bold;
    text-transform: uppercase;
}

.section4 .title h2 {
    height: 40px;
    line-height: 40px;
    text-align: center;
    font-size: 24px;
    color: #cccccc;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 40px;
}


.box4 {
    display: flex;
}

.box4 .item {
    width: 33.333%;
    padding: 0 15px;
}

.box4 .item .img {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.box4 .item .img img {
    transition: 0.5s;
    width: 100%;
    position: relative;
    z-index: 1;
}

.box4 .item:hover .img img {
    width: 100%;
}

.box4 .item .img span {
    width: 135px;
    height: 46px;
    line-height: 46px;
    text-align: center;
    font-size: 14px;
    color: #fff;
    font-weight: bold;
    display: block;
    background: var(--color);
    position: absolute;
    right: 0px;
    bottom: 0px;
    z-index: 2;
}

.box4 .item h1 {
    font-size: 16px;
    height: 55px;
    overflow: hidden;
    line-height: 55px;
    color: #2b2b2b;
    padding: 15px 0px 0px 0px;
    margin: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

.box4 .item h2 {
    line-height: 24px;
    font-size: 14px;
    color: #868686;
    margin-top: 10px;
    margin-bottom: 20px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

@media (max-width: 1600px) {}

@media (max-width: 1440px) {}

@media (max-width: 1200px) {}

@media (max-width: 992px) {
    .box4 .item {
        padding: 0 5px;
    }

    .section4 {
        padding: 60px 0px;
    }

    .section4 .title h1 {
        line-height: 1.5;
        font-size: 28px;
        margin: 0;
    }

    .section4 .title h2 {
        font-size: 24px;
        line-height: 1.5;
        margin-bottom: 30px;
    }
}

@media (max-width: 640px) {
    .box4 {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
    }

    .box4 .item {
        width: 100%;
    }
}